//
//  NSNumber+KeepDigital.h
//  XiaoHongShu
//
//  Created by Jason on 2022/7/20.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSNumber (KeepDigital)

// 保留1位小数，并且不会四舍五入
+ (NSString *)keepOneDigitWithCount:(double)count;

// 保留2位小数，并且不会四舍五入
+ (NSString *)keepTwoDigitalWithCount:(double)count;
@end

NS_ASSUME_NONNULL_END
